<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<script src="../node_modules/axios/dist/axios.js"></script>
<script>
    axios({
        method: 'get',
        url:'http://127.0.0.1:3000/posts'
    }).then(value => {
        console.log(value)
    })
</script>
</body>
</html>